package com.ljxt.dt.dao.storemanagementdao;

import com.ljxt.dt.domain.GoodsInfo;
import com.ljxt.dt.domain.Stock;
import com.ljxt.dt.domain.StockDetail;
import com.ljxt.dt.vo.storemanagement.RepertorySelectVO;

import java.util.List;

/**
 * @author 唐春劲
 * @version 1.0.0
 * @date 2020-05-20 9:53
 * @copyright 老九学堂
 */
public interface RepertoryDao {
    /**
     * 查询符合条件的商品信息
     * @param repertorySelectVO
     * @return
     */
    List<StockDetail> selectRepertory(RepertorySelectVO repertorySelectVO,Integer pageIndex,Integer pageSize);

    /**
     * 查询库存信息
     * @param repertorySelectVO
     * @param pageIndex
     * @param pageIndex1
     * @return
     */
    List<Stock> selectStock(RepertorySelectVO repertorySelectVO, Integer pageIndex, Integer pageIndex1);

    /**
     * 查询商品库存详细
     * @param pageIndex
     * @param pageSize
     * @param id
     * @return
     */
    List<StockDetail> getStocks(Integer pageIndex, Integer pageSize, Integer id);

    /**
     * 查询总数
     * @param repertorySelectVO
     * @param pageIndex
     * @param pageSize
     * @return
     */
    int totalCount(RepertorySelectVO repertorySelectVO, Integer pageIndex, Integer pageSize);
}
